package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.system.domain.PStoreReturn;
import com.ruoyi.system.domain.vo.PStoreReturnVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

/**
 * 商城订单退款Mapper接口
 *
 * @author ruoyi
 * @date 2022-08-05
 */
public interface PStoreReturnMapper extends BaseMapperPlus<PStoreReturnMapper, PStoreReturn, PStoreReturnVo> {

    /**
     * 联查-订单退款列表
     */
    Page<PStoreReturnVo> selectMyVoPage(@Param("build") Page<PStoreReturnVo> build, @Param("ew") QueryWrapper<PStoreReturnVo> lqw);

    /**
     * 连表查询
     */
    PStoreReturnVo selectLeftVoById(Long id);
}
